/*
 * Singleton.h
 *
 *  Created on: Aug 13, 2011
 *      Author: Squall_Chua
 */

#ifndef SINGLETON_H_
#define SINGLETON_H_

namespace projectcos
{
namespace util
{

template<typename T>
class Singleton
{
public:
	static T& Instance()
	{
		static T me;
		return me;
	}
};


} // util
} // projectcos

#endif /* SINGLETON_H_ */
